<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>修改成员</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <jsp:include page="_Minister.jsp" />
</div>

<div class="right_col" role="main" style="height:656px">
    <div class="row">
        <div class="col-md-8">
            <h4>修改器材</h4>
            <form role="form" class="form-horizontal" action="${pageContext.request.contextPath}/minister/modifyEquipmentToDb" method="post">
                <input type="hidden" name="department" id="department" value="${equipment.department}"/>
                <input type="hidden" name="id" id="id" value="${equipment.id}"/>

                <div class="form-group">
                    <label class="col-sm-2 control-label">器材姓名:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="equipmentName" name="equipmentName" value="${equipment.equipmentName }" required>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">器材位置:</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="position" name="position" value="${equipment.position }" required>
                    </div>
                </div>



                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="col-sm-3"></div>
                        <button type="submit" class="btn btn-primary col-sm-2">提交</button>
                        <div class="col-sm-2"></div>
                        <button type="reset" class="btn btn-danger col-sm-2">重置</button>
                        <div class="col-sm-3"></div>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
</body>
</html>